import request from '@/utils/request'

export const stressTestResult = (data) => {
  return request({
    url:'/stresstest/stressTestResult',
    method:'post',
    data:data
  })
}

export const stressTestResultById = (testId) => {
  return request({
    url:'/stresstest/stressTestResultById',
    method:'get',
    params:{
      testId
    }
  })
}

export const initSceneList = () => {
  return request({
    url:'/stresstest/selectStressTestSceneKV',
    method:'post',
  })
}
//施压分析  添加场景
export const addSceneList = (data) => {
  return request({
    url:'/stresstest/selectStressTestResultAll',
    method:'post',
    data:data
  })
}

//施压分析  施压
export const initPress = (data) => {
  return request({
    url:'/stresstest/insertStressTestResultAll',
    method:'post',
    data:data
  })
}
